projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3f2ac
)
ngl: Use floorf consistently
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Mar 2021 22:58:29 +0000
(18:58 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 21 Mar 2021 20:05:10 +0000
(16:05 -0400)
gsk/ngl/gsknglglyphlibraryprivate.h
patch
|
blob
|
history
diff --git
a/gsk/ngl/gsknglglyphlibraryprivate.h
b/gsk/ngl/gsknglglyphlibraryprivate.h
index c44068dd5091adf1db1660a37bd7239517e6e46b..8a2b421290fd5b801153acf5edb75ba882b2579b 100644
(file)
--- a/
gsk/ngl/gsknglglyphlibraryprivate.h
+++ b/
gsk/ngl/gsknglglyphlibraryprivate.h
@@
-71,7
+71,7
@@
gboolean gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self,
static inline int
gsk_ngl_glyph_key_phase (float value)
{
- return floor
(4 * (value + 0.125)) - 4 * floor
(value + 0.125);
+ return floor
f (4 * (value + 0.125)) - 4 * floorf
(value + 0.125);
}
static inline void